<template>
  <router-view />
</template>

<script setup>
import useSettingsStore from "@/store/modules/settings"
import { handleThemeStyle, useTheme } from "@/utils/theme"

const { initThemeConfig } = useTheme()

onMounted(() => {
  nextTick(() => {
    // 初始化主题样式
    // handleThemeStyle(useSettingsStore().theme)
    initThemeConfig()
  })
})
</script>
